package com.z.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.z.service.StudentService;

@RestController
@EnableAutoConfiguration
public class StudentController {


	@Autowired
	StudentService studentService;
	
	
    @RequestMapping("/students")
    Object queryStudents() {
        return studentService.queryStudents();
    }
}
